package com.kuang.design.creation.factory.factorymethod;

public class RaceCar extends AbstractCar{

    public RaceCar(){
        this.engine="Race-engine";
    }

    @Override
    public void run() {
        System.out.println(engine+"-->Race run...");
    }
}
